 <div class="pl_main2" >
		<div class="about_pl about_pl2" style="padding-bottom:10px;">
         <h2><div class="com_tit" style="width:180px;">我的评论<span>MY COMMENTS</span></div> </h2>
         <!--列表开始-->
         <?php
           $comments = @$pages->getResults();
            if(count($comments)>0){
            foreach($comments as $comment)
            {
                echo "<div class='pl_con'>
           <div class='pl_con_l'><img src='".fileExist($userInf->getAvatar())."'  /></div>
           <div class='pl_con_r pl_con_r2'>
             <div class='pl_username'><span>".$userInf->getNickname()."</span> <span class='pl_date'>评论时间：".date('Y-m-d H:i:s',strtotime($comment->getCreateTime()))."</span></div>
             <div class='pl_contant'>".$comment->getBody()."</div>
           </div>
         </div>";
            }
            }else
                echo "暂无评论";
         ?>
        </div>
	 </div>
	 <!--留言评论结束-->
	 <div class="my_photos">
	    <h2><div class="com_tit" style="width:180px;">我的相册<span>MY PHOTO ALBUM</span></div></h2>
		<div class="my_photos_box">
            <?php
                $nums=0;
                if(count($userInf->getPhotogroup())>0){
                foreach($userInf->getPhotogroup() as $photoGroup)
                {
                    if('1005'==$photoGroup->getStatusId()){
                    echo "<div class='my_photo_lists'><a href='javascript:showInfos(1,5,".$photoGroup->getPhotoGroupId().")'><img src='".fileExist($photoGroup->getSnapshot())."' border=0/></a></div>";
                        $nums++;

                    }
                }
            }
            if($nums<1)
            echo "您还没有相册，马上".link_to("添加","user/addinfos","");
            ?>
		</div>
	 </div>